// 用于展示卡片
.mrz-overview-col {
  padding: 10px;

  .mrz-overview-card {
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    .mrz-card-header {
      padding: 15px;

      .mrz-card-title {
        font-size: 18px;
        font-weight: 500;
        color: #333;
        margin-bottom: 5px;
        padding-left: 10px;
        border-left: 4px solid #4A90E2;
      }

      .mrz-card-subtitle {
        font-size: 14px;
        color: #666;
        margin-top: 5px;
        padding-left: 14px;
        display: block;
      }

      .mrz-divider {
        height: 2px;
        background-color: #4A90E2;
        border-radius: 1px;
        margin-top: 10px;
      }
    }

    .mrz-card-body {
      padding: 15px;
    }
  }

  // 适配移动端
  @media (max-width: 768px) {
    padding: 0;
  }
}

// 用于展示按钮
.mrz-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

// 用于居中的按钮展示
.mrz-btn-center-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

// 用于展示颜色
.mrz-color-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;

  .mrz-color-item {
    width: 120px;
    padding: 5px 0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #dddddd;

    .mrz-color-name {
      font-size: 14px;
      font-weight: 500;
      margin-bottom: 10px;
    }

    .mrz-color-value {
      font-size: 12px;
    }
  }

  @media (max-width: 768px) {
    gap: 12px;

    .mrz-color-item {
      width: 100px;

      .mrz-color-name {
        font-size: 12px;
      }

      .mrz-color-value {
        font-size: 10px;
      }
    }
  }
}

// 用于展示字体大小
.mrz-font-group {
  display: flex;
  flex-direction: column;
}

// 用于展示文字链接
.mrz-link-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

// 用于展示进度条
.mrz-progress-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

// 用于展示进度条标题
.mrz-progress-label {
  font-size: 18px;
}

// 用于展示图标
.mrz-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;

  .mrz-icon-item {
    display: flex;
    justify-content: center;
    align-items: center;

    .mrz-icon-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      min-height: 100px;
      padding: 10px;
      border-radius: 4px;
      background-color: #f9f9f9;
      width: 100%;

      .mrz-icon {
        font-size: 24px;
        margin-bottom: 8px;
        color: #4A90E2;
      }

      .mrz-icon-name {
        font-size: 12px;
        color: #666666;
        word-break: break-word;
        line-height: 1.4;
        max-width: 100%;
      }
    }
  }

  // 适配移动端
  @media (max-width: 768px) {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;

    .mrz-icon-item {
      .mrz-icon-container {
        .mrz-icon {
          font-size: 20px;
        }

        .mrz-icon-name {
          font-size: 11px;
        }
      }
    }
  }
}

// 用于展示图表
.mrz-chart-container {
  width: 100%;
  height: 400px;
  min-height: 300px;
  transition: height 0.3s ease;

  @media (max-width: 768px) {
    height: 300px;
  }
}

// 用于表单支持同一行布局
.mrz-inline-container {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  gap: 20px;

  @media (max-width: 768px) {
    display: block;
  }
}

// 用于展示表单
.mrz-block-section {
  display: block;
}

// 用于展示表单
.mrz-inline-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

// Flex排版公共样式
.mrz-align-left {
  display: flex;
  justify-content: flex-start;
}

// Flex排版公共样式
.mrz-align-right {
  display: flex;
  justify-content: flex-end;
}

// Flex排版公共样式
.mrz-align-center {
  display: flex;
  justify-content: center;
}

// 用于展示标记
.mrz-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

// 用于数据表格底部
.mrz-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .mrz-left-pagination {
    display: flex;
    align-items: center;
  }

  .mrz-right-pagination {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .mrz-bottom-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;

    .mrz-left-pagination {
      justify-content: center;
      width: 100%;
    }

    .mrz-right-pagination {
      justify-content: center;
      width: 100%;
      flex: none;
    }
  }
}
